package com.mytx.pojo;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class Topic {
    private String id;

    private String uId;

    private String oId;//offer id:拍卖商品出价最高的offer的Id

    private String managerId;//管理员id

    private String title;

    private String content;

    private List<String> pictures;

    private String video;

    private String address;

    private LatLng location;

    private Integer type;

    private Integer status;

    private Integer commentSize;

    private Integer praiseSize;

    private BigDecimal price;//普通商品价格、拍卖商品当前价格、悬赏任务的任务单价（赏金）

    private BigDecimal auctionPrice;//拍卖底价

    private BigDecimal bidIncrement;//拍卖加价增幅

    private BigDecimal donationBalance;//捐赠余额

    private BigDecimal donationReceived;//捐赠总额

    private Integer donationSize;//捐赠计数

    private Integer forwardSize;//转发计数

    private Integer taskSize;// 任务数量（最后能结算的任务数量）

    private Integer receiveTaskSize;// 任务已经领取的数量

    private Integer finishTaskSize;//任务已经完成的数量

    private BigDecimal deposit;//托管金额，保证金，悬赏类型下， 保证金=

    private Date startTime;

    private Date stopTime;

    private String extra;

    private Date updated;

    private Date created;

    private User manager;//管理员

    private List<MyFile> myFileList;

    private Coupon coupon;

    public Topic(String id, String uId, String oId, String managerId, String title, String content, List pictures, String video, String address, LatLng location, Integer type, Integer status, Integer commentSize, Integer praiseSize, BigDecimal price, BigDecimal auctionPrice, BigDecimal bidIncrement, BigDecimal donationBalance, BigDecimal donationReceived, Integer donationSize, Integer forwardSize, Integer taskSize, Integer receiveTaskSize, Integer finishTaskSize, BigDecimal deposit, Date startTime, Date stopTime, String extra, Date updated, Date created) {
        this.id = id;
        this.uId = uId;
        this.oId = oId;
        this.managerId = managerId;
        this.title = title;
        this.content = content;
        this.pictures = pictures;
        this.video = video;
        this.address = address;
        this.location = location;
        this.type = type;
        this.status = status;
        this.commentSize = commentSize;
        this.praiseSize = praiseSize;
        this.price = price;
        this.auctionPrice = auctionPrice;
        this.bidIncrement = bidIncrement;
        this.donationBalance = donationBalance;
        this.donationReceived = donationReceived;
        this.donationSize = donationSize;
        this.forwardSize = forwardSize;
        this.taskSize = taskSize;
        this.receiveTaskSize = receiveTaskSize;
        this.finishTaskSize = finishTaskSize;
        this.deposit = deposit;
        this.startTime = startTime;
        this.stopTime = stopTime;
        this.extra = extra;
        this.updated = updated;
        this.created = created;
    }

    public Topic() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }


    public String getuId() {
        return uId;
    }

    public void setuId(String uId) {
        this.uId = uId == null ? null : uId.trim();
    }

    public String getoId() {
        return oId;
    }

    public void setoId(String oId) {
        this.oId = oId;
    }

    public String getManagerId() {
        return managerId;
    }

    public void setManagerId(String managerId) {
        this.managerId = managerId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public List<String> getPictures() {
        return pictures;
    }

    public void setPictures(List<String> pictures) {
        this.pictures = pictures;
    }

    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video == null ? null : video.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public LatLng getLocation() {
        return location;
    }

    public void setLocation(LatLng location) {
        this.location = location;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getCommentSize() {
        return commentSize;
    }

    public void setCommentSize(Integer commentSize) {
        this.commentSize = commentSize;
    }

    public Integer getPraiseSize() {
        return praiseSize;
    }

    public void setPraiseSize(Integer praiseSize) {
        this.praiseSize = praiseSize;
    }


    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getAuctionPrice() {
        return auctionPrice;
    }

    public void setAuctionPrice(BigDecimal auctionPrice) {
        this.auctionPrice = auctionPrice;
    }

    public BigDecimal getDonationBalance() {
        return donationBalance;
    }

    public void setDonationBalance(BigDecimal donationBalance) {
        this.donationBalance = donationBalance;
    }

    public BigDecimal getDonationReceived() {
        return donationReceived;
    }

    public void setDonationReceived(BigDecimal donationReceived) {
        this.donationReceived = donationReceived;
    }

    public Integer getDonationSize() {
        return donationSize;
    }

    public void setDonationSize(Integer donationSize) {
        this.donationSize = donationSize;
    }

    public Integer getForwardSize() {
        return forwardSize;
    }

    public void setForwardSize(Integer forwardSize) {
        this.forwardSize = forwardSize;
    }

    public Integer getTaskSize() {
        return taskSize;
    }

    public void setTaskSize(Integer taskSize) {
        this.taskSize = taskSize;
    }

    public Integer getReceiveTaskSize() {
        return receiveTaskSize;
    }

    public void setReceiveTaskSize(Integer receiveTaskSize) {
        this.receiveTaskSize = receiveTaskSize;
    }

    public Integer getFinishTaskSize() {
        return finishTaskSize;
    }

    public void setFinishTaskSize(Integer finishTaskSize) {
        this.finishTaskSize = finishTaskSize;
    }

    public BigDecimal getDeposit() {
        return deposit;
    }

    public void setDeposit(BigDecimal deposit) {
        this.deposit = deposit;
    }

    public BigDecimal getBidIncrement() {
        return bidIncrement;
    }

    public void setBidIncrement(BigDecimal bidIncrement) {
        this.bidIncrement = bidIncrement;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getStopTime() {
        return stopTime;
    }

    public void setStopTime(Date stopTime) {
        this.stopTime = stopTime;
    }

    public String getExtra() {
        return extra;
    }

    public void setExtra(String extra) {
        this.extra = extra;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public User getManager() {
        return manager;
    }

    public void setManager(User manager) {
        this.manager = manager;
    }

    public List<MyFile> getMyFileList() {
        return myFileList;
    }

    public void setMyFileList(List<MyFile> myFileList) {
        this.myFileList = myFileList;
    }

    public Coupon getCoupon() {
        return coupon;
    }

    public void setCoupon(Coupon coupon) {
        this.coupon = coupon;
    }
}